<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    
    <head>
        <%
            String baseUrl = request.getRequestURL().toString().replaceFirst(request.getRequestURI(), request.getContextPath());
            baseUrl = baseUrl.charAt(baseUrl.length() - 1) == '/'? baseUrl : baseUrl + '/';
        %>
        <base href="<%=baseUrl%>"/>
        <meta http-equiv="X-UA-Compatible" content="IE=7"/>
        
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        
        <title><tiles:getAsString name="title"/></title>
        <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>
        <style type="text/css" media="all">
            @import url("css/style.css");
            @import url("css/jquery.wysiwyg.css");
            @import url("css/facebox.css");
            @import url("css/visualize.css");
            @import url("css/date_input.css");
            @import url("css/chosen.css");
        </style>
        
        <script type="text/javascript">
            BASE_URL = "<%=baseUrl%>"
        </script>
        
        <!--[if lt IE 8]>
    <style type="text/css" media="all">@import url("css/ie.css");</style><![endif]-->
        
    </head>
    
    
    <body>
        
        <div id="hld">
            
            <div class="wrapper">        <!-- wrapper begins -->

                <tiles:insert attribute="head"/>
                
                <!-- CONTENT FOR LAYOUT -->
                <tiles:insert attribute="body"/>
                
                <div id="footer">
                    
                    <p class="left"><a href="#">NTB Stamp Duty And Registration</a></p>
                    
                    <p class="right">Developed by <a
                            href="#">Group 5</a> - 
                    C1009L - Bach Khoa Aptech</p>
                    
                </div>
            </div>
            <!-- wrapper ends -->
            
        </div>
        <!-- #hld ends -->

<!--[if IE]>
        <script type="text/javascript" src="js/excanvas.js"></script><![endif]-->
        <script type="text/javascript" src="js/jquery.js"></script>
        <script type="text/javascript" src="js/jquery.img.preload.js"></script>
        <script type="text/javascript" src="js/jquery.filestyle.mini.js"></script>
        <script type="text/javascript" src="js/jquery.wysiwyg.js"></script>
        <script type="text/javascript" src="js/jquery.date_input.pack.js"></script>
        <script type="text/javascript" src="js/facebox.js"></script>
        <script type="text/javascript" src="js/jquery.visualize.js"></script>
        <script type="text/javascript" src="js/jquery.visualize.tooltip.js"></script>
        <script type="text/javascript" src="js/jquery.tablesorter.min.js"></script>
        <script type="text/javascript" src="js/ajaxupload.js"></script>
        <script type="text/javascript" src="js/jquery.pngfix.js"></script>
        <script type="text/javascript" src="js/jquery.validate.min.js"></script>
        <script type="text/javascript" src="js/chosen.jquery.min.js"></script>
        <script type="text/javascript" src="js/custom.js"></script>
        
        
    </body>
</html>
